home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-04-03 | 1.1 KB | 49 lines | [TEXT/PJMM] |
- { This file has been processed by The THINK Pascal Source Converter, v1.1. }
-
- {}
- {Created: Sunday, January 6, 1991 at 11:05 PM}
- { Resources.p}
- { Pascal Interface to the Macintosh Libraries}
- {}
- { Copyright Apple Computer, Inc. 1985-1990}
- { All rights reserved}
- {}
-
-
- {$IFC UNDEFINED UsingIncludes}
- {$SETC UsingIncludes := 0}
- {$ENDC}
-
-
- unit Resources;
- interface
- uses
- Types, OSUtils, Files;
-
- function FSpOpenResFile (spec: FSSpec; permission: SignedByte): INTEGER;
- inline
- $303C, $000D, $AA52;
- procedure FSpCreateResFile (spec: FSSpec; creator: OSType; fileType: OSType; scriptTag: ScriptCode);
- inline
- $303C, $000E, $AA52;
-
- { partial resource calls }
- procedure ReadPartialResource (theResource: Handle; offset: LONGINT; buffer: univ Ptr; count: LONGINT);
- inline
- $7001, $A822;
- procedure WritePartialResource (theResource: Handle; offset: LONGINT; buffer: univ Ptr; count: LONGINT);
- inline
- $7002, $A822;
- procedure SetResourceSize (theResource: Handle; newSize: LONGINT);
- inline
- $7003, $A822;
-
-
-
- { UsingResources }
-
-
- implementation
- end.
-
-